/**
 *      [Starsriver] (C)2014-2099.
 *      This is NOT a freeware, follows Apache2.0 licence
 *
 *      Author: 张宇
 *      Email:  starsriver@yahoo.com
 *
 */
.conf-list{
    list-style: revert;

}
.conf-list li{
    display: block;
    width: 100%;
    border-bottom: 1px solid #f2f2f2;
    padding: 20px 15px;
}
.conf-list li > *{
    display: inline-block;
    vertical-align: top;
}
.conf-list li .name{
    width: 170px;
    font-size: 15px;
    font-weight: 700;
    color: darkred;
}
.conf-list li .discrib{
    font-size: 12px;
    color: #8a8a8a;
    width: 210px;
    word-break: break-all;
    padding: 0 10px 0 0;
}
.conf-list li .data{
    width: calc(100% - 470px);
}
.conf-list li .data .input-modal,
.conf-list li .data textarea,
.conf-list li .data input{
    width: calc(100% - 20px);
    max-height: 140px;
    overflow: auto;
    padding: 0 10px;
    white-space: normal;
    word-break: break-all;
    border: 1px solid #aa001e;
    border-radius: 4px;
    margin: 0 10px;
}

.conf-list li .data .input-modal,
.conf-list li .data textarea{
    padding: 5px 10px;
}

.conf-list li .data .input-modal{
    border: 1px solid #dddddd;
    color: #6f6f6f;
}
.conf-list li .data input{
    vertical-align: top;
    height: 28px;
}


.conf-list li .data input[type='checkbox'] + label{
    box-sizing: content-box;
    padding: 2px 4px;
    font-size: 12px;
    text-align: right;
    display: inline-block;
    position: relative;
    width: 50px;
    height: 24px;
    line-height: 24px;
    border: 1px solid #aa001e;
    margin: 0 10px;
    border-radius: 2px;
    transition: .3s cubic-bezier(0.02, 0.94, 0.58, 1);
    color:  #aa001e;
    cursor: pointer;
}
.conf-list li .data input[type='checkbox'] + label:before{
    content: 'ON';
    font-size: 12px;
    text-align: center;
    position: absolute;
    display: inline-block;
    width: 26px;
    height: inherit;
    left: 2px;
    line-height: 24px;
    background: #aa001e;
    color: #aa001e;
    transition: inherit;
}
.conf-list li .data input[type='checkbox']:checked + label{
    background: #aa001e;
}
.conf-list li .data input[type='checkbox']:checked + label:before{
    background: #fff;
    left: calc(100% - 28px);
}

.conf-list li .data input[type='checkbox']:disabled + label{
    border-color: #c3c3c3;
    color: #c3c3c3;
}
.conf-list li .data input[type='checkbox']:disabled + label:before{
    background: #c3c3c3;
    color: #c3c3c3;
}

.conf-list li .data input[type='checkbox']:checked:disabled + label{
    background: #bebebe;
}
.conf-list li .data input[type='checkbox']:checked:disabled + label:before{
    background: #fff;
}

.conf-list li .data *{
    resize:none;
}
.conf-list li .reset{
    width: 26px;
    height: 26px;
    margin-left: 10px;
    color: #e26;
    line-height: 26px;
    border: 1px solid #e26;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: .05s ease-in-out;
}
.conf-list li .reset:hover{
    color: #fff;
    background: #e26;
}